package com.fw.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends Exception {
    String message;
    String code;
    public MyException(String message){
        this.message = message;
        this.code = "000001";
    }
}
